package unittests;

import static org.junit.Assert.*;

import org.junit.Ignore;
import org.junit.Test;

import framework.CSVReader;

public class TestCSVReader {

	CSVReader testReader = new CSVReader("\\media\\jyothiprasad\\Entertainment\\DropBox\\Temp.txt");
	
	@Test
	public void testGetLine() {
		assertTrue(testReader.getLine(0).equals("a,b,c"));
		assertTrue(testReader.getLine(2)==null);
		assertTrue(testReader.getLine(1).equals("d,e,f"));
		assertTrue(testReader.getLine(4)==null);
	}

	@Ignore
	@Test
	public void testAppendToLine() {
		fail("Not yet implemented");
	}

}
